package com.xuz.example01.builder;

import com.xuz.example01.product.Bike;

/**
 * 抽象建造者类
 * @author xuz
 * @date 2024/10/8
 **/
public abstract class Builder {

    /**
     * 给具体建造者使用
     */
    protected Bike mBike = new Bike();

    /*
     * 构建车架
     */
    public abstract void buildFrame();
    /*
     * 构建车座
     */
    public abstract void buildSeat();

    public abstract Bike createBike();
}
